package cn.bandeqing.unipush2.entity;

import cn.bandeqing.frame.mybatis.config.InsertOrUpdateListener;
import cn.bandeqing.frame.mybatis.entity.BaseEntity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * unipush2推送 实体类。
 *
 * @author fugui
 * @since 2024-03-16
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "bdq_unipush2", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
public class Unipush2 extends BaseEntity {

    @Id
    private String requestId;

    private Long workerId;

    private String workerName;

    private String pushClientid;

    private String title;

    private String content;

    private MsgType msgType;

    private String data;

}
